package com.xiyu.service.vo.sales;

import com.xiyu.service.vo.sales.baseVO.SalesOrderBase;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.Valid;
import com.xiyu.service.enums.common.CommonStatusEnum;
import com.xiyu.service.framework.validation.InEnum;

@Schema(description = "获取单个销售订单")
@Data
@AllArgsConstructor
public class SalesSingleGetOutput extends SalesOrderBase {

    @Schema(description = "销售订单主键ID")
    private Long id;

    @Schema(description = "客户信息")
    @Valid
    private customer customer;

    @Schema(description = "客户信息")
    @Data
    public static class customer {

        @Schema(description = "客户编号")
        private String customerNo;

        @Schema(description = "名称")
        private String name;
    }
}